﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace RunCoachServer
{
    [DataContract]
    public class Runs
    {
        [DataMember]//
            public int id { set; get; }
        [DataMember]//
            public DateTime start_time { set; get; }
        [DataMember]//
            public DateTime end_time { set; get; }
        [DataMember]//
            public Int32 avg_speed { set; get; }
        [DataMember]//
            public Int32 avg_speed2 { set; get; }
        [DataMember]//
            public Int32 distance { set; get; }
        [DataMember]//
            public Int32 user_id { set; get; }
    }
}